/* const express = require('express')
const app =express()

const userRouter = require('./router/router')
const indexRouter = require('./router/homerouter')

app.use('/api',userRouter)
app.use('/index',indexRouter)

app.listen(8080,()=>{
    console.log('8080 running')
}) */

/* const express = require('express')
const app =express()

const userRouter = require('./router/router')
const indexRouter = require('./router/homerouter')

app.use('/api',userRouter)
app.use('/index',indexRouter)

app.listen(8080,()=>{
    console.log('8080 running')
}) */


const express = require('express')
const app =express()

const userRouter = require('./router/router')
const indexRouter = require('./router/homerouter')

app.use('/api',userRouter)
app.use('/index',indexRouter)

app.listen(8080,()=>{
    console.log('8080 running')
})